<?php

class Post extends AppModel {
	var $name = 'Post';
	
	var $belongsTo = array(
		
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'user_id'),
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'poster_id')
	);
}

?>